<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

<span th:text="Hello"></span>
<hr/>
<span th:text="${msg}"></span>

<hr/>
<tr>
    <th>ID</th>
    <th>名称</th>
    <th>年龄</th>
</tr>
<tr  th:each="user : ${list}">
    <td th:text="${user.id}"></td>
    <td th:text="${user.name}"></td>
    <td th:text="${user.sex}"></td>
</tr>

</body>
</html>